﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class LapPhieuGiaoHangBus
    {
        public int LayMa()
        {
            LapPhieuGiaoHangDao lpDao = new LapPhieuGiaoHangDao();
            return lpDao.LayMa();
        }
        public void LapPhieuGiaoHang(HOADONGIAOHANG HD)
        {
            LapPhieuGiaoHangDao lpDao = new LapPhieuGiaoHangDao();
            lpDao.LapPhieuGiaoHang(HD);
        }
        public IEnumerable<HOADONGIAOHANG> LayHoaDon()
        {
            LapPhieuGiaoHangDao lpDao = new LapPhieuGiaoHangDao();
            return lpDao.LayHoaDon();
        }
    }
}
